package com.eascs.cloudFile.entity;

import java.io.Serializable;
import javax.persistence.*;
import java.util.Date;

/**
 * The persistent class for the cloud_datalist database table.
 * 
 */
@Entity
@Table(name = "cloud_datalist")
@NamedQuery(name = "CloudDatalist.findAll", query = "SELECT c FROM CloudDatalist c")
public class CloudDatalist implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	private String id;

	private String code;

	private String type;

	@Temporal(TemporalType.TIMESTAMP)
	@Column(name = "creat_date")
	private Date creatDate;

	@Column(name = "creat_id")
	private String creatId;

	private String creator;

	@Column(name = "customer_id")
	private String customerId;

	@Column(name = "extend_name")
	private String extendName;

	@Column(name = "is_delete")
	private String isDelete;

	private String name;

	@Column(name = "type_name")
	private String typeName;

	@Column(name = "original_name")
	private String originalName;

	@Column(name = "photography_address")
	private String photographyAddress;

	@Temporal(TemporalType.TIMESTAMP)
	@Column(name = "photography_date")
	private Date photographyDate;

	@Temporal(TemporalType.TIMESTAMP)
	@Column(name = "update_date")
	private Date updateDate;

	@Column(name = "update_id")
	private String updateId;

	private String updator;

	@Column(name = "url_path")
	private String urlPath;

	public CloudDatalist() {
	}

	public String getId() {
		return this.id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getCode() {
		return this.code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public Date getCreatDate() {
		return this.creatDate;
	}

	public void setCreatDate(Date creatDate) {
		this.creatDate = creatDate;
	}

	public String getCreatId() {
		return this.creatId;
	}

	public void setCreatId(String creatId) {
		this.creatId = creatId;
	}

	public String getCreator() {
		return this.creator;
	}

	public void setCreator(String creator) {
		this.creator = creator;
	}

	public String getCustomerId() {
		return this.customerId;
	}

	public void setCustomerId(String customerId) {
		this.customerId = customerId;
	}

	public String getExtendName() {
		return this.extendName;
	}

	public void setExtendName(String extendName) {
		this.extendName = extendName;
	}

	public String getIsDelete() {
		return this.isDelete;
	}

	public void setIsDelete(String isDelete) {
		this.isDelete = isDelete;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getOriginalName() {
		return this.originalName;
	}

	public void setOriginalName(String originalName) {
		this.originalName = originalName;
	}

	public String getPhotographyAddress() {
		return this.photographyAddress;
	}

	public void setPhotographyAddress(String photographyAddress) {
		this.photographyAddress = photographyAddress;
	}

	public Date getPhotographyDate() {
		return this.photographyDate;
	}

	public void setPhotographyDate(Date photographyDate) {
		this.photographyDate = photographyDate;
	}

	public Date getUpdateDate() {
		return this.updateDate;
	}

	public void setUpdateDate(Date updateDate) {
		this.updateDate = updateDate;
	}

	public String getUpdateId() {
		return this.updateId;
	}

	public void setUpdateId(String updateId) {
		this.updateId = updateId;
	}

	public String getUpdator() {
		return this.updator;
	}

	public void setUpdator(String updator) {
		this.updator = updator;
	}

	public String getUrlPath() {
		return this.urlPath;
	}

	public void setUrlPath(String urlPath) {
		this.urlPath = urlPath;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getTypeName() {
		return typeName;
	}

	public void setTypeName(String typeName) {
		this.typeName = typeName;
	}

	@Override
	public String toString() {
		return "CloudDatalist [id=" + id + ", code=" + code + ", type=" + type + ", creatDate=" + creatDate + ", creatId=" + creatId + ", creator=" + creator + ", customerId=" + customerId + ", extendName=" + extendName + ", isDelete=" + isDelete + ", name=" + name + ", typeName=" + typeName
				+ ", originalName=" + originalName + ", photographyAddress=" + photographyAddress + ", photographyDate=" + photographyDate + ", updateDate=" + updateDate + ", updateId=" + updateId + ", updator=" + updator + ", urlPath=" + urlPath + "]";
	}

}